import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'
import register from '@/components/register'
import show from '@/components/show'
import pinglun from '@/components/pinglun'
import usernew from '@/components/usernew'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'HelloWorld',
      component: HelloWorld
    },
    {
      path: '/register',
      name: 'register',
      component: register
    },

    {
      path: '/show',
      name: 'show',
      component: show
    },
{
      path: '/pinglun',
      name: 'pinglun',
      component: pinglun
    },

{
      path: '/usernew',
      name: 'usernew',
      component: usernew
    },





  ]
})
